/**
 * 
 */

package com.tenentia.pcmps.swm.data.interfaces;

import java.util.Date;
import java.util.List;

import com.tenentia.pcmps.swm.data.DataAccessException;
import com.tenentia.pcmps.swm.data.DataAccessObject;
import com.tenentia.pcmps.swm.data.beans.PDFTemplate;

/**
 * 
 * @author tEnEntia, S.L.N.E.
 * 
 */
public interface PDFTemplatesDAO extends DataAccessObject {

	public void delete(PDFTemplate template) throws DataAccessException;

	public PDFTemplate get(PDFTemplate template) throws DataAccessException;

	public List<PDFTemplate> getTableItemsByRange(Object filterParameters, Object sortParameters, Integer firstRow, Integer numberOfRows) throws DataAccessException;

	public Integer getTableRowCount(Object filterParameters) throws DataAccessException;

	public PDFTemplate save(PDFTemplate template) throws DataAccessException;

	public PDFTemplate update(PDFTemplate template) throws DataAccessException;

	public PDFTemplate getPDFTemplateByAlias(String alias) throws DataAccessException;

	public PDFTemplate getPDFTemplateByClassNameAndDate(String className, Date classDate) throws DataAccessException;

}
